package com.ynu.appuser.domain.push;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 推送消息模板对象 push_template
 *
 * @author ruoyi
 * @date 2022-12-01
 */
public class PushTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 模板分类 */
    @Excel(name = "模板分类")
    private String templateType;

    /** 创建者 */
    private Long creator;

    /** 更新者 */
    private Long updator;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 气泡中的图片链接 */
    private String imgUrl;

    /** 弹出层的简要内容 */
    private String shortContent;

    /** 富文本内容 */
    private String content;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTemplateName(String templateName)
    {
        this.templateName = templateName;
    }

    public String getTemplateName()
    {
        return templateName;
    }
    public void setTemplateType(String templateType)
    {
        this.templateType = templateType;
    }

    public String getTemplateType()
    {
        return templateType;
    }
    public void setCreator(Long creator)
    {
        this.creator = creator;
    }

    public Long getCreator()
    {
        return creator;
    }
    public void setUpdator(Long updator)
    {
        this.updator = updator;
    }

    public Long getUpdator()
    {
        return updator;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setImgUrl(String imgUrl)
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl()
    {
        return imgUrl;
    }
    public void setShortContent(String shortContent)
    {
        this.shortContent = shortContent;
    }

    public String getShortContent()
    {
        return shortContent;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateName", getTemplateName())
            .append("templateType", getTemplateType())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updateTime", getUpdateTime())
            .append("updator", getUpdator())
            .append("title", getTitle())
            .append("imgUrl", getImgUrl())
            .append("shortContent", getShortContent())
            .append("content", getContent())
            .toString();
    }
}
